SampleControlFlags

Undocumented in source.

Members

Functions

finished
bool finished()
Undocumented in source. Be warned that the author may not have intended to support it.
pause
void pause()
Undocumented in source. Be warned that the author may not have intended to support it.
paused
bool paused()
Undocumented in source. Be warned that the author may not have intended to support it.
position
float position()
Undocumented in source. Be warned that the author may not have intended to support it.
resume
void resume()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

currentPosition
float currentPosition;
Undocumented in source.
finished_
bool finished_;
Undocumented in source.
paused_
bool paused_;
Undocumented in source.
stopped
bool stopped;
Undocumented in source.

Inherited Members

From SampleController

pause
void pause()

Pauses playback, keeping its position. Use resume to pick up where it left off.

resume
void resume()

Resumes playback after a call to pause.

stop
void stop()

Stops playback. Once stopped, it cannot be restarted except by creating a new sample from the AudioOutputThread object.

position
float position()

Reports the current stream position, in seconds, if available (NaN if not).

finished
bool finished()

If the sample has finished playing. Happens when it runs out or if it is stopped.

paused
bool paused()

If the sample has been paused.

Meta